<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="/template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core">

    <ui:define name="title">
        HelpDeskRu:UserZone
    </ui:define>

    <ui:define name="top_menu">
        <ui:include src="/user/main_menu.xhtml"/>
    </ui:define>
    
    
    <ui:define name="content">
        
        <h:form id="form" style="max-width: 500px; padding: 19px 29px 29px; margin: auto auto">

            <p:panelGrid columns="2">
                <f:facet name="header">
                    #{prop['user.password.header']} #{loginController.logged.name}
                </f:facet>

                <h:outputText value="#{prop['user.password.passwdNew']}"/>
                <h:inputSecret value="#{loginController.passwdNew}"/>

                <h:outputText value="#{prop['user.password.passwdNew2']}"/>
                <h:inputSecret value="#{loginController.passwdNew2}"/>
                
                <f:facet name="footer">
                    <div style="text-align: center;">
                        <p:commandButton value="#{prop['user.password.commandButton']}"
                                     actionListener="#{loginController.saveNewPasswd}" ajax="false"/>
                    </div>
                </f:facet>
                
                
            </p:panelGrid>
            
            
            
        </h:form>

        
    </ui:define>
    
</ui:composition>



